﻿namespace Airborne.ScrumPoker.Communication
{
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    [System.ServiceModel.ServiceContractAttribute(Namespace = "AirborneScrumPoker", ConfigurationName = "IScrumPokerServer", CallbackContract = typeof(IScrumPokerCallback), SessionMode = System.ServiceModel.SessionMode.Required)]
    public interface IScrumPokerClient
    {
        [System.ServiceModel.OperationContractAttribute(Action = "AirborneScrumPoker/IScrumPokerServer/Subscribe", ReplyAction = "AirborneScrumPoker/IScrumPokerServer/SubscribeResponse")]
        bool Subscribe(string clientName);

        [System.ServiceModel.OperationContractAttribute(IsTerminating = true, Action = "AirborneScrumPoker/IScrumPokerServer/Unsubscribe", ReplyAction = "AirborneScrumPoker/IScrumPokerServer/UnsubscribeResponse")]
        void Unsubscribe();

        [System.ServiceModel.OperationContractAttribute(IsOneWay = true, Action = "AirborneScrumPoker/IScrumPokerServer/Vote")]
        void Vote(double cardValue);

    }
}
